{% extends "administrator/base.html" %}

{% block mainbody %}                
    <h3>
        猫咪类别信息管理
    </h3>
    <form id="edit-profile" action="{% url 'admin_password_change' %}" class="form-horizontal" method="post">
        <input type="hidden" name="pid" value="{{ info.id }}"/>
        {% csrf_token %}
        <fieldset>
            <legend>修改用户密码</legend>
            <div class="control-group">
                <label class="control-label" for="input01">输入新的密码</label>
                <div class="controls">
                    <input type="password" name="password" class="input-xlarge" id="input01"/>
                </div>
            </div>  
            <div class="control-group">
                <label class="control-label" for="input01">再次输入新的密码</label>
                <div class="controls">
                    <input type="password" name="repassword" class="input-xlarge" id="input01"/>
                </div>
            </div>                
            <div class="form-actions">
                <button type="submit" class="btn btn-primary">确认修改</button> <button type="reset" class="btn">重置</button>
            </div>
        </fieldset>
    </form>
{% endblock %}